luci-appnft-qos: add missing translation wrapper
authorFlorian Eckert <[email protected]>
Tue, 12 Jul 2022 07:12:06 +0000 (09:12 +0200)
committerJo-Philipp Wich <[email protected]>
Mon, 3 Apr 2023 11:20:17 +0000 (13:20 +0200)
Signed-off-by: Florian Eckert <[email protected]>
(cherry picked from commit d3a6ba9d55ccfb83e30abc350735fca1e308c6e3)

applications/luci-app-nft-qos/luasrc/model/cbi/nft-qos/nft-qos.lua

index 904096783154ede96c33decb90655351960f8fde..351e3c220fd38d93a8f43d7982dbf73345ca21c0 100644 (file)
@@ -30,9 +30,9 @@ s = m:section(TypedSection, "default", translate("NFT-QoS Settings"))
 s.addremove = false
 s.anonymous = true
 
-s:tab("limit", "Limit Rate by IP Address")
-s:tab("limitmac", "Limit Rate by Mac Address")
-s:tab("priority", "Traffic Priority")
+s:tab("limit", translate("Limit Rate by IP Address"))
+s:tab("limitmac", translate("Limit Rate by Mac Address"))
+s:tab("priority", translate("Traffic Priority"))
 
 --
 -- Static
@@ -273,4 +273,4 @@ if limit_mac_enable == "1" then
 
 end
 
-return m
\ No newline at end of file
+return m